package com.morehair.bean.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class Cart {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private String goodsSn;
    private String goodsName;
    private Integer productId;
    private BigDecimal price;
    private Short number;
    private String specifications;
    private Boolean checked;
    private String picUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date updateTime;
    private Boolean deleted;
}